import request from "@/axios";

export class menuApi {

  // 菜单新增/编辑
  static edit = (params) =>
    request.postAndLoadData("/adminapi/menu/store", params);
  // 菜单列表
  static page = (params) =>
    request.getAndLoadData("/adminapi/menu/list", params);
  // 菜单删除
  static delete = (params) =>
    request.delAndLoadData("/adminapi/menu/delete", params);
}
